package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wlyuan.open.scanner.domain.address.Address;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 全局顺延状态 0否 1是
 * </p>
 *
 * @author yuanjie
 * @since 2022-09-23
 */
@Data
@TableName("TMS_MEndUser")
@ApiModel(value = "EndUserDO对象", description = "全局顺延状态 0否 1是")
public class EndUserDO implements Serializable {


    private static final long serialVersionUID = -3774924895730790151L;
    @ApiModelProperty("客户属于哪个公司")
    private Long enduserOwnercompany;

    @ApiModelProperty("客户的公司编号")
    private Long enduserCompanyid;

    @ApiModelProperty("客户ID")
    private Long enduserCustomerid;

    @ApiModelProperty("客户公司ID")
    private Long enduserCustomercompanyid;

    @ApiModelProperty("公司编号")
    private String enduserClientcode;

    @ApiModelProperty("公司全称")
    private String enduserName;

    @ApiModelProperty("所属行业")
    private Long enduserIndustry;

    @ApiModelProperty("公司网站")
    private String enduserWeb;

    @ApiModelProperty("公司简称")
    private String enduserShortname;

    @ApiModelProperty("英文名字")
    private String enduserEnname;

    @ApiModelProperty("英文简称")
    private String enduserShortenname;

    @ApiModelProperty("法人")
    private String enduserMaster;

    @ApiModelProperty("营业执照")
    private String enduserLicense;

    @ApiModelProperty("联系人")
    private String enduserContact;

    @ApiModelProperty("联系电话")
    private String enduserPhone;

    @ApiModelProperty("传真")
    private String enduserFax;

    @ApiModelProperty("邮箱")
    private String enduserMail;

    @ApiModelProperty("地址")
    private String enduserAddress;

    @ApiModelProperty("邮编")
    private String enduserZip;

    @ApiModelProperty("微信")
    private String enduserWeixin;

    @ApiModelProperty("商标")
    private String enduserLogo;

    @ApiModelProperty("银行")
    private String enduserBank;

    @ApiModelProperty("银行账号")
    private String enduserBankaccount;

    @ApiModelProperty("详情描叙")
    private String enduserDescription;

    @ApiModelProperty("创建人")
    private Long enduserCreator;

    @ApiModelProperty("创建时间")
    private LocalDateTime enduserInserttime;

    @ApiModelProperty("最新修改人")
    private Long enduserUpdater;

    @ApiModelProperty("最新修改时间")
    private LocalDateTime enduserUpdatetime;

    @ApiModelProperty("1 失效 0 有效")
    private Integer enduserInvalid;

    @ApiModelProperty("备注")
    private String enduserComments;

    @ApiModelProperty("对接操作人")
    private String enduserFromoperator;

    @ApiModelProperty("对接地址id")
    private Long enduserTerminalendid;

    @ApiModelProperty("对接地址编号")
    private String enduserTerminalendcode;

    @ApiModelProperty("版本")
    private Long enduserVersion;

    @ApiModelProperty("顺延状态 0没设置   1设置")
    private Integer enduserPostponestatus;

    @ApiModelProperty("全局顺延状态  0没设置   1设置")
    private Integer enduserSituponestatus;

    @ApiModelProperty("设置的状态6 周六 0 周日 1法定节假日 2调休日")
    private String enduserSetstatus;

    @ApiModelProperty("是否发送场景证书 0 不发送 1 发送")
    private Integer enduserSendcertificatestatus;

    private Integer optStatus;

    @TableId(value = "EndUser_ID", type = IdType.AUTO)
    private Long enduserId;

    private String enduserGuid;

    @TableField(exist = false)
    private String customerName;
    @TableField(exist = false)
    private Integer customerUnderLine;
    @TableField(exist = false)
    private List<Address> addressList;
    @TableField(exist = false)
    private String raw;
    @ApiModelProperty("设置时间类型")
    @TableField(exist = false)
    private List<Integer> deliveryTime;
}
